using EasyDapr.Domain;

namespace InventoryService.Domain.Event
{
    /// <summary>
    /// 创建成功事件
    /// </summary>
    public class InventoryCreatedEvent : DomainEventBase
    {
        public string Location { get; private set; }
        public string Website { get; private set; }
        public string Description { get; private set; }

        public InventoryCreatedEvent(string location, string website, string description)
        {
            Location = location;
            Website = website;
            Description = description;
        }
    }
}